package com.gxa.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("promotion_product")
public class PromotionProduct {
    @TableId(type = IdType.AUTO)
    private Integer detailId;
    private String productSerialNo;
    private Integer promotionTypeId;
    private BigDecimal discount;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String status;
    private String remark;
    private String barcode;
    // @新增：折扣后价格
    private BigDecimal promotionPrice;

} 